//      decree.cpp
//      
//      Copyright 2012 dimir <dimir@dimir-pc>
//      
//      This program is free software; you can redistribute it and/or modify
//      it under the terms of the GNU General Public License as published by
//      the Free Software Foundation; either version 2 of the License, or
//      (at your option) any later version.
//      
//      This program is distributed in the hope that it will be useful,
//      but WITHOUT ANY WARRANTY; without even the implied warranty of
//      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//      GNU General Public License for more details.
//      
//      You should have received a copy of the GNU General Public License
//      along with this program; if not, write to the Free Software
//      Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
//      MA 02110-1301, USA.
//      
//      


#include "decree.h"

Decree::Decree(){
	this->row = 0;
	this->column = 0;
	this->number_bug = 0;
	this->direction = Direction(0);
}

Decree::Decree(const int& row, const int& column,
			   const Direction& direction, const int& number_bug)
{
	this->row = row;
	this->column = column;
	this->number_bug = number_bug;
	this->direction = direction;
}

Direction Decree::getDirection() const{
	return direction;
}

int Decree::getRow() const{
	return row;
}

int Decree::getColumn() const{
	return column;
}

int Decree::getNumberBug() const{
	return number_bug;
}
